
.standard_button,
.big_button,
.secondary_button,
.add_button {
    margin: .25rem;
    display: inline-block;
    border-radius: 5px;
    background-color: var(--amber);
    padding: .625rem 1.5rem;
    font-size: .8rem;
    color: var(--dark-gray);
    box-shadow: 0 4px 6px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1),
    inset 2px 2px 2px 0 rgba(255, 255, 255, .5);
    font-weight: bold;
    outline: none;
    position: relative;
    transition: color .5s ease, transform .5s ease;
    user-select: none;

    .button_text {
        display: flex;
        align-items: center;
        justify-content: center;
        text-transform: uppercase;
    }

    &:after {
        position: absolute;
        content: "";
        width: 0;
        height: 100%;
        top: 0;
        right: 0;
        z-index: -1;
        background-color: var(--sailor-blue-darker);
        border-radius: 5px;
        box-shadow: inset 2px 2px 2px 0 rgba(255, 255, 255, .5),
        7px 7px 20px 0 rgba(0, 0, 0, .1),
        4px 4px 5px 0 rgba(0, 0, 0, .1);
        transition: left .3s ease, width .3s ease;
    }

    &:hover, &:focus {
        color: var(--text-white);
        transform: scale(1.02);
    }

    &:hover:after, &:focus:after {
        left: 0;
        width: 100%;
    }

    &:active {
        transform: scale(0.98);
    }

    .login_icon {
        margin-right: .25rem;
    }
}

.secondary_button {
    background-color: var(--sea-green);
}

.big_button {
    margin-top: 5rem;
    font-size: 1.75rem;
    padding: 1.5rem 4rem;
    font-weight: bold;
}

.close_button {
    background: transparent;
    border: none;
    padding: 0;

    .close_icon {
        color: var(--light-gray-darker);
        font-size: 1.5rem;

        &:hover {
            color: var(--crimson-red-darker);
        }
    }
}

.add_button {
    margin: 0 .25rem 0 .5rem;
}

.logout_button {
    display: flex;
    height: 48px;
    flex-grow: 1;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-color: var(--light-gray-lighter);
    color: var(--dark-gray);
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;

    &:hover {
        background-color: var(--crimson-red);
        color: var(--text-white);
    }

    .content {
        display: none;
    }
}

@media (min-width: 768px) {
    .logout_button {
        flex: none;
        justify-content: flex-start;
        padding: .5rem .75rem;

        .button_text {
            display: flex;
            gap: .5rem;

            .content {
                display: block;
            }
        }
    }
}
